<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>花龙腾航 - 行李规定</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        .hero {
            background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
            background-size: cover;
            background-position: center;
        }

        .luggage-card {
            transition: all 0.3s ease;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .luggage-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        .scroll-section {
            scroll-snap-type: y proximity;
        }

        .scroll-section > div {
            scroll-snap-align: start;
        }

        .tab-active {
            border-bottom: 3px solid #3b82f6;
            color: #3b82f6;
            font-weight: 600;
        }

        .hidden {
            display: none;
        }

        .hide-scrollbar::-webkit-scrollbar {
            display: none;
        }

        .hide-scrollbar {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }

        .calculator-highlight {
            animation: pulse 2s infinite;
            box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.3);
        }

        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
            }
            70% {
                box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
            }
        }
    </style>
</head>
<body class="font-sans bg-gray-50">
<!-- Navigation -->
<nav class="bg-white shadow-lg sticky top-0 z-50">
    <div class="max-w-6xl mx-auto px-4">
        <div class="flex justify-between items-center py-4">
            <div class="flex items-center space-x-4">
                <img src="https://via.placeholder.com/50x50?text=HLTH" alt="花龙腾航 Logo" class="h-10">
                <span class="font-bold text-xl text-blue-600">花龙腾航</span>
            </div>
            <button class="md:hidden text-gray-700">
                <i class="fas fa-bars text-2xl"></i>
            </button>
        </div>
    </div>
</nav>

<!-- Hero Section -->
<section class="hero text-white py-24 px-4 md:px-0">
    <div class="max-w-4xl mx-auto text-center">
        <h1 class="text-4xl md:text-5xl font-bold mb-6">行李运输规定</h1>
        <p class="text-xl mb-8">了解花龙腾航的行李政策，让您的旅程更加轻松无忧</p>
        <div class="flex justify-center space-x-4">
            <button class="bg-blue-600 hover:bg-blue-700 px-6 py-3 rounded-full font-medium transition duration-300">
                查看完整规定
            </button>
            <button id="start-calculate" class="bg-white text-blue-600 hover:bg-gray-100 px-6 py-3 rounded-full font-medium transition duration-300">
                <i class="fas fa-calculator mr-2"></i> 开始计算行李
            </button>
        </div>
    </div>
</section>

<!-- Tab Navigation -->
<div class="bg-white shadow-sm sticky top-16 z-40">
    <div class="max-w-6xl mx-auto px-4">
        <div class="flex overflow-x-auto hide-scrollbar">
            <button data-target="carry-on" class="tab-btn tab-active px-6 py-4 whitespace-nowrap">随身行李</button>
            <button data-target="checked" class="tab-btn px-6 py-4 whitespace-nowrap text-gray-600 hover:text-blue-600">托运行李</button>
            <button data-target="special" class="tab-btn px-6 py-4 whitespace-nowrap text-gray-600 hover:text-blue-600">特殊物品</button>
            <button data-target="prohibited" class="tab-btn px-6 py-4 whitespace-nowrap text-gray-600 hover:text-blue-600">违禁物品</button>
            <button data-target="excess" class="tab-btn px-6 py-4 whitespace-nowrap text-gray-600 hover:text-blue-600">超额行李</button>
        </div>
    </div>
</div>

<!-- Main Content -->
<main class="max-w-6xl mx-auto px-4 py-12">
    <!-- Luggage Calculator (Hidden by default) -->
    <div id="luggage-calculator" class="bg-blue-50 rounded-xl p-6 mb-12 hidden calculator-highlight">
        <div class="flex justify-between items-center mb-4">
            <h3 class="text-2xl font-bold text-blue-800">行李计算器</h3>
            <button id="close-calculator" class="text-gray-500 hover:text-gray-700">
                <i class="fas fa-times"></i>
            </button>
        </div>
        <p class="text-gray-700 mb-4">不确定您的行李是否符合规定？输入您的行李信息，我们将立即为您检查</p>
        <form id="luggageCalculator" class="space-y-4">
            <div>
                <label class="block text-gray-700 font-medium mb-1">行李类型</label>
                <label>
                    <select name="type" class="mt-1 block w-full rounded-md border-gray-300 p-2">
                        <option value="carry-on">随身行李</option>
                        <option value="checked">托运行李</option>
                    </select>
                </label>
            </div>
            <div>
                <label class="block text-gray-700 font-medium mb-1">尺寸 (长x宽x高, cm)</label>
                <label>
                    <input type="text" name="dimensions" class="mt-1 block w-full rounded-md border-gray-300 p-2" placeholder="例如: 55x40x20" required>
                </label>
            </div>
            <div>
                <label class="block text-gray-700 font-medium mb-1">重量 (kg)</label>
                <label>
                    <input type="number" name="weight" class="mt-1 block w-full rounded-md border-gray-300 p-2" placeholder="例如: 7" required>
                </label>
            </div>
            <div class="flex space-x-4">
                <button type="submit" class="bg-blue-600 hover:bg-blue-700 text-white px-6 py-2 rounded-full font-medium transition duration-300 flex-1">
                    <i class="fas fa-check-circle mr-2"></i> 立即检查
                </button>
            </div>
        </form>
        <div id="result" class="mt-4 p-4 rounded-lg hidden">
            <div class="flex items-start">
                <i id="result-icon" class="fas fa-info-circle text-xl mr-3 mt-1"></i>
                <div>
                    <h4 id="result-title" class="font-bold text-lg"></h4>
                    <p id="result-message" class="text-sm"></p>
                </div>
            </div>
        </div>
    </div>

    <!-- Scrollable Content Sections -->
    <div class="scroll-section mb-12 rounded-xl shadow-inner bg-white">
        <!-- Carry-on Luggage -->
        <div id="carry-on" class="p-8 border-b">
            <div class="flex items-center mb-6">
                <div class="bg-blue-100 p-3 rounded-full mr-4">
                    <i class="fas fa-briefcase text-blue-600 text-2xl"></i>
                </div>
                <h2 class="text-2xl font-bold text-gray-800">随身行李规定</h2>
            </div>

            <div class="grid md:grid-cols-2 gap-8 mb-8">
                <div class="luggage-card bg-white p-6 rounded-xl border border-gray-200">
                    <div class="flex items-center mb-4">
                        <div class="bg-green-100 p-2 rounded-full mr-3">
                            <i class="fas fa-check text-green-600"></i>
                        </div>
                        <h3 class="font-bold text-lg">经济舱</h3>
                    </div>
                    <ul class="space-y-3 text-gray-700">
                        <li class="flex items-start">
                            <i class="fas fa-suitcase-rolling text-blue-500 mt-1 mr-2"></i>
                            <span>1件随身行李 + 1件个人物品</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-ruler-combined text-blue-500 mt-1 mr-2"></i>
                            <span>尺寸限制: 55cm × 40cm × 20cm</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-weight-hanging text-blue-500 mt-1 mr-2"></i>
                            <span>重量限制: 7公斤</span>
                        </li>
                    </ul>
                </div>

                <div class="luggage-card bg-white p-6 rounded-xl border border-gray-200">
                    <div class="flex items-center mb-4">
                        <div class="bg-purple-100 p-2 rounded-full mr-3">
                            <i class="fas fa-crown text-purple-600"></i>
                        </div>
                        <h3 class="font-bold text-lg">商务舱/头等舱</h3>
                    </div>
                    <ul class="space-y-3 text-gray-700">
                        <li class="flex items-start">
                            <i class="fas fa-suitcase-rolling text-blue-500 mt-1 mr-2"></i>
                            <span>2件随身行李 + 1件个人物品</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-ruler-combined text-blue-500 mt-1 mr-2"></i>
                            <span>尺寸限制: 55cm × 40cm × 20cm</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-weight-hanging text-blue-500 mt-1 mr-2"></i>
                            <span>重量限制: 每件10公斤</span>
                        </li>
                    </ul>
                </div>
            </div>

            <div class="bg-yellow-50 border-l-4 border-yellow-400 p-4 mb-6">
                <div class="flex">
                    <div class="flex-shrink-0">
                        <i class="fas fa-exclamation-circle text-yellow-500 mt-1 mr-3"></i>
                    </div>
                    <div>
                        <p class="text-sm text-yellow-700">
                            请注意：所有随身行李必须能放入前排座椅下方或头顶行李舱内。如无法放入，可能需要改为托运并支付相应费用。
                        </p>
                    </div>
                </div>
            </div>

            <div class="grid md:grid-cols-3 gap-6">
                <div class="text-center">
                    <img src="https://images.unsplash.com/photo-1581056771107-24ca5f033842?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Carry-on luggage" class="rounded-lg h-48 w-full object-cover mb-3">
                    <p class="font-medium">标准随身行李</p>
                </div>
                <div class="text-center">
                    <img src="https://images.unsplash.com/photo-1600185365483-26d7a4cc7519?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1025&q=80" alt="Personal item" class="rounded-lg h-48 w-full object-cover mb-3">
                    <p class="font-medium">个人物品(笔记本电脑包等)</p>
                </div>
                <div class="text-center">
                    <img src="https://images.unsplash.com/photo-1505740420928-5e560c06d30e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Measuring luggage" class="rounded-lg h-48 w-full object-cover mb-3">
                    <p class="font-medium">尺寸测量示范</p>
                </div>
            </div>
        </div>

        <!-- Checked Luggage -->
        <div id="checked" class="p-8 border-b">
            <div class="flex items-center mb-6">
                <div class="bg-blue-100 p-3 rounded-full mr-4">
                    <i class="fas fa-suitcase text-blue-600 text-2xl"></i>
                </div>
                <h2 class="text-2xl font-bold text-gray-800">托运行李规定</h2>
            </div>

            <div class="grid md:grid-cols-3 gap-6 mb-8">
                <div class="luggage-card bg-white p-6 rounded-xl border border-gray-200">
                    <div class="flex items-center mb-4">
                        <div class="bg-green-100 p-2 rounded-full mr-3">
                            <i class="fas fa-chair text-green-600"></i>
                        </div>
                        <h3 class="font-bold text-lg">经济舱</h3>
                    </div>
                    <ul class="space-y-3 text-gray-700">
                        <li class="flex items-start">
                            <i class="fas fa-hashtag text-blue-500 mt-1 mr-2"></i>
                            <span>1件免费托运行李</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-weight-hanging text-blue-500 mt-1 mr-2"></i>
                            <span>重量限制: 23公斤</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-ruler-combined text-blue-500 mt-1 mr-2"></i>
                            <span>尺寸限制: 长宽高总和≤158cm</span>
                        </li>
                    </ul>
                </div>

                <div class="luggage-card bg-white p-6 rounded-xl border border-gray-200">
                    <div class="flex items-center mb-4">
                        <div class="bg-blue-100 p-2 rounded-full mr-3">
                            <i class="fas fa-business-time text-blue-600"></i>
                        </div>
                        <h3 class="font-bold text-lg">商务舱</h3>
                    </div>
                    <ul class="space-y-3 text-gray-700">
                        <li class="flex items-start">
                            <i class="fas fa-hashtag text-blue-500 mt-1 mr-2"></i>
                            <span>2件免费托运行李</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-weight-hanging text-blue-500 mt-1 mr-2"></i>
                            <span>重量限制: 每件32公斤</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-ruler-combined text-blue-500 mt-1 mr-2"></i>
                            <span>尺寸限制: 长宽高总和≤158cm</span>
                        </li>
                    </ul>
                </div>

                <div class="luggage-card bg-white p-6 rounded-xl border border-gray-200">
                    <div class="flex items-center mb-4">
                        <div class="bg-purple-100 p-2 rounded-full mr-3">
                            <i class="fas fa-crown text-purple-600"></i>
                        </div>
                        <h3 class="font-bold text-lg">头等舱</h3>
                    </div>
                    <ul class="space-y-3 text-gray-700">
                        <li class="flex items-start">
                            <i class="fas fa-hashtag text-blue-500 mt-1 mr-2"></i>
                            <span>3件免费托运行李</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-weight-hanging text-blue-500 mt-1 mr-2"></i>
                            <span>重量限制: 每件32公斤</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-ruler-combined text-blue-500 mt-1 mr-2"></i>
                            <span>尺寸限制: 长宽高总和≤158cm</span>
                        </li>
                    </ul>
                </div>
            </div>

            <div class="bg-blue-50 border-l-4 border-blue-400 p-4 mb-6">
                <div class="flex">
                    <div class="flex-shrink-0">
                        <i class="fas fa-info-circle text-blue-500 mt-1 mr-3"></i>
                    </div>
                    <div>
                        <p class="text-sm text-blue-700">
                            国际航班与国内航班的行李政策可能有所不同，请在购票时确认具体航线的行李规定。
                        </p>
                    </div>
                </div>
            </div>

            <div class="grid md:grid-cols-2 gap-8">
                <div>
                    <h3 class="font-bold text-lg mb-4">托运行李示范</h3>
                    <img src="https://images.unsplash.com/photo-1553444836-bc6c8d340fff?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Checked luggage" class="rounded-lg w-full h-64 object-cover">
                </div>
                <div>
                    <h3 class="font-bold text-lg mb-4">行李标签示范</h3>
                    <img src="https://images.unsplash.com/photo-1507925926998-8b3c6b86a0df?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Luggage tag" class="rounded-lg w-full h-64 object-cover">
                </div>
            </div>
        </div>

        <!-- Special Items -->
        <div id="special" class="p-8 border-b">
            <div class="flex items-center mb-6">
                <div class="bg-blue-100 p-3 rounded-full mr-4">
                    <i class="fas fa-star text-blue-600 text-2xl"></i>
                </div>
                <h2 class="text-2xl font-bold text-gray-800">特殊物品运输</h2>
            </div>

            <div class="grid md:grid-cols-2 gap-6 mb-8">
                <div class="luggage-card bg-white p-6 rounded-xl border border-gray-200">
                    <div class="flex items-center mb-4">
                        <div class="bg-green-100 p-2 rounded-full mr-3">
                            <i class="fas fa-bicycle text-green-600"></i>
                        </div>
                        <h3 class="font-bold text-lg">运动器材</h3>
                    </div>
                    <ul class="space-y-3 text-gray-700">
                        <li class="flex items-start">
                            <i class="fas fa-check text-green-500 mt-1 mr-2"></i>
                            <span>高尔夫球具、滑雪板、自行车等</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-money-bill-wave text-blue-500 mt-1 mr-2"></i>
                            <span>可能需要额外收费</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-clock text-blue-500 mt-1 mr-2"></i>
                            <span>建议提前48小时预约</span>
                        </li>
                    </ul>
                </div>

                <div class="luggage-card bg-white p-6 rounded-xl border border-gray-200">
                    <div class="flex items-center mb-4">
                        <div class="bg-yellow-100 p-2 rounded-full mr-3">
                            <i class="fas fa-paw text-yellow-600"></i>
                        </div>
                        <h3 class="font-bold text-lg">宠物运输</h3>
                    </div>
                    <ul class="space-y-3 text-gray-700">
                        <li class="flex items-start">
                            <i class="fas fa-check text-green-500 mt-1 mr-2"></i>
                            <span>需提前申请并获得批准</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-syringe text-blue-500 mt-1 mr-2"></i>
                            <span>需提供健康证明和疫苗记录</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-box text-blue-500 mt-1 mr-2"></i>
                            <span>需使用符合标准的宠物运输箱</span>
                        </li>
                    </ul>
                </div>

                <div class="luggage-card bg-white p-6 rounded-xl border border-gray-200">
                    <div class="flex items-center mb-4">
                        <div class="bg-red-100 p-2 rounded-full mr-3">
                            <i class="fas fa-wine-bottle text-red-600"></i>
                        </div>
                        <h3 class="font-bold text-lg">易碎/贵重物品</h3>
                    </div>
                    <ul class="space-y-3 text-gray-700">
                        <li class="flex items-start">
                            <i class="fas fa-exclamation-triangle text-yellow-500 mt-1 mr-2"></i>
                            <span>建议随身携带贵重物品</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-box-open text-blue-500 mt-1 mr-2"></i>
                            <span>易碎物品需妥善包装并标识</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-file-signature text-blue-500 mt-1 mr-2"></i>
                            <span>可购买额外保险</span>
                        </li>
                    </ul>
                </div>

                <div class="luggage-card bg-white p-6 rounded-xl border border-gray-200">
                    <div class="flex items-center mb-4">
                        <div class="bg-purple-100 p-2 rounded-full mr-3">
                            <i class="fas fa-baby-carriage text-purple-600"></i>
                        </div>
                        <h3 class="font-bold text-lg">婴儿用品</h3>
                    </div>
                    <ul class="space-y-3 text-gray-700">
                        <li class="flex items-start">
                            <i class="fas fa-check text-green-500 mt-1 mr-2"></i>
                            <span>婴儿车可免费托运</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-utensils text-blue-500 mt-1 mr-2"></i>
                            <span>婴儿食品不受液体限制</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-child text-blue-500 mt-1 mr-2"></i>
                            <span>可额外携带一件婴儿用品</span>
                        </li>
                    </ul>
                </div>
            </div>

            <div class="grid md:grid-cols-3 gap-6">
                <div class="text-center">
                    <img src="https://images.unsplash.com/photo-1545205597-3d9d02c29597?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Sports equipment" class="rounded-lg h-48 w-full object-cover mb-3">
                    <p class="font-medium">运动器材运输</p>
                </div>
                <div class="text-center">
                    <img src="https://images.unsplash.com/photo-1583511655826-05700d52efe1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1588&q=80" alt="Pet transportation" class="rounded-lg h-48 w-full object-cover mb-3">
                    <p class="font-medium">宠物运输服务</p>
                </div>
                <div class="text-center">
                    <img src="https://images.unsplash.com/photo-1560743641-3914e2b9d7b3?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Fragile items" class="rounded-lg h-48 w-full object-cover mb-3">
                    <p class="font-medium">易碎物品包装</p>
                </div>
            </div>
        </div>

        <!-- Prohibited Items -->
        <div id="prohibited" class="p-8 border-b">
            <div class="flex items-center mb-6">
                <div class="bg-red-100 p-3 rounded-full mr-4">
                    <i class="fas fa-ban text-red-600 text-2xl"></i>
                </div>
                <h2 class="text-2xl font-bold text-gray-800">禁止携带物品</h2>
            </div>

            <div class="grid md:grid-cols-2 gap-6">
                <div>
                    <h3 class="font-bold text-lg mb-3 text-red-600">严禁携带</h3>
                    <ul class="space-y-2 text-gray-700">
                        <li class="flex items-start">
                            <i class="fas fa-fire text-red-500 mt-1 mr-2"></i>
                            <span>易燃易爆物品(打火机燃料、烟花等)</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-skull-crossbones text-red-500 mt-1 mr-2"></i>
                            <span>有毒有害物质</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-gun text-red-500 mt-1 mr-2"></i>
                            <span>武器及仿真武器</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-flask text-red-500 mt-1 mr-2"></i>
                            <span>腐蚀性物质</span>
                        </li>
                    </ul>
                </div>

                <div>
                    <h3 class="font-bold text-lg mb-3 text-yellow-600">限制携带</h3>
                    <ul class="space-y-2 text-gray-700">
                        <li class="flex items-start">
                            <i class="fas fa-tint text-yellow-500 mt-1 mr-2"></i>
                            <span>液体物品(单件≤100ml，总量≤1L)</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-battery-full text-yellow-500 mt-1 mr-2"></i>
                            <span>锂电池(需随身携带，禁止托运)</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-pills text-yellow-500 mt-1 mr-2"></i>
                            <span>药品(需有医生证明)</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-wine-bottle text-yellow-500 mt-1 mr-2"></i>
                            <span>酒精饮料(需符合规定)</span>
                        </li>
                    </ul>
                </div>
            </div>

            <div class="mt-8">
                <div class="bg-white p-4 rounded-lg shadow-sm border border-gray-200">
                    <div class="flex items-center">
                        <div class="bg-blue-100 p-2 rounded-full mr-3">
                            <i class="fas fa-question-circle text-blue-600"></i>
                        </div>
                        <p class="text-sm text-gray-700">
                            不确定某物品是否可以携带？请通过我们的<a href="#" class="text-blue-600 hover:underline">在线查询工具</a>或致电客服中心咨询。
                        </p>
                    </div>
                </div>
            </div>
        </div>

        <!-- Excess Luggage -->
        <div id="excess" class="p-8">
            <div class="flex items-center mb-6">
                <div class="bg-blue-100 p-3 rounded-full mr-4">
                    <i class="fas fa-tags text-blue-600 text-2xl"></i>
                </div>
                <h2 class="text-2xl font-bold text-gray-800">超额行李收费</h2>
            </div>

            <div class="overflow-x-auto">
                <table class="min-w-full bg-white rounded-lg overflow-hidden">
                    <thead class="bg-blue-600 text-white">
                    <tr>
                        <th class="py-3 px-4 text-left">航线</th>
                        <th class="py-3 px-4 text-left">第1件超额</th>
                        <th class="py-3 px-4 text-left">第2件超额</th>
                        <th class="py-3 px-4 text-left">超重费(每公斤)</th>
                    </tr>
                    </thead>
                    <tbody class="divide-y divide-gray-200">
                    <tr>
                        <td class="py-3 px-4">国内航线</td>
                        <td class="py-3 px-4">¥300</td>
                        <td class="py-3 px-4">¥500</td>
                        <td class="py-3 px-4">¥50</td>
                    </tr>
                    <tr class="bg-gray-50">
                        <td class="py-3 px-4">亚洲区域</td>
                        <td class="py-3 px-4">¥600</td>
                        <td class="py-3 px-4">¥900</td>
                        <td class="py-3 px-4">¥80</td>
                    </tr>
                    <tr>
                        <td class="py-3 px-4">欧美航线</td>
                        <td class="py-3 px-4">¥900</td>
                        <td class="py-3 px-4">¥1200</td>
                        <td class="py-3 px-4">¥100</td>
                    </tr>
                    </tbody>
                </table>
            </div>

            <div class="mt-6 text-sm text-gray-600">
                <p>* 以上价格仅供参考，具体收费以机场柜台为准。</p>
                <p>* 建议提前在线购买超额行李额度，可享受8折优惠。</p>
            </div>
        </div>
    </div>

    <!-- FAQ -->
    <div class="mb-12 faq">
        <h2 class="text-2xl font-bold text-gray-800 mb-6">常见问题</h2>
        <div class="space-y-4">
            <div class="border border-gray-200 rounded-lg overflow-hidden">
                <button class="flex justify-between items-center w-full p-4 text-left bg-gray-50 hover:bg-gray-100">
                    <span class="font-medium">我可以携带多少液体物品登机？</span>
                    <i class="fas fa-chevron-down text-blue-600"></i>
                </button>
                <div class="p-4 bg-white hidden">
                    <p class="text-gray-700">根据民航规定，旅客可携带单件容器不超过100毫升的液体、凝胶及气溶胶物品，所有物品需装入一个可重复密封的透明塑料袋中，总容量不超过1升。每名旅客限带一个透明塑料袋。</p>
                </div>
            </div>

            <div class="border border-gray-200 rounded-lg overflow-hidden">
                <button class="flex justify-between items-center w-full p-4 text-left bg-gray-50 hover:bg-gray-100">
                    <span class="font-medium">如何运输我的乐器？</span>
                    <i class="fas fa-chevron-down text-blue-600"></i>
                </button>
                <div class="p-4 bg-white hidden">
                    <p class="text-gray-700">小型乐器可作为随身行李携带(需符合尺寸要求)。大型乐器需作为托运行李运输，建议使用专用乐器箱并购买额外保险。部分航班可购买座位票为乐器提供座位，请提前联系客服安排。</p>
                </div>
            </div>

            <div class="border border-gray-200 rounded-lg overflow-hidden">
                <button class="flex justify-between items-center w-full p-4 text-left bg-gray-50 hover:bg-gray-100">
                    <span class="font-medium">行李延误或损坏如何索赔？</span>
                    <i class="fas fa-chevron-down text-blue-600"></i>
                </button>
                <div class="p-4 bg-white hidden">
                    <p class="text-gray-700">如遇行李延误或损坏，请立即在机场行李服务柜台申报并填写相关文件。我们将在核实情况后按规定进行赔偿。建议为贵重物品购买额外保险。</p>
                </div>
            </div>
        </div>
    </div>

    <!-- CTA -->
    <div class="bg-blue-600 rounded-xl p-8 text-center text-white">
        <h2 class="text-2xl font-bold mb-4">还有疑问？</h2>
        <p class="text-xl mb-6">我们的客服团队24小时为您服务</p>
        <div class="flex flex-col md:flex-row justify-center space-y-4 md:space-y-0 md:space-x-6">
            <button class="bg-white text-blue-600 hover:bg-gray-100 px-8 py-3 rounded-full font-medium transition duration-300">
                <i class="fas fa-phone-alt mr-2"></i> 联系客服
            </button>
            <button class="border-2 border-white hover:bg-blue-700 px-8 py-3 rounded-full font-medium transition duration-300">
                <i class="fas fa-comments mr-2"></i> 在线咨询
            </button>
        </div>
    </div>
</main>

<!-- Footer -->
<footer class="bg-gray-900 text-white pt-12 pb-8">
    <div class="max-w-6xl mx-auto px-4">
        <div class="grid md:grid-cols-4 gap-8 mb-8">
            <div>
                <h3 class="text-lg font-bold mb-4">联系我们</h3>
                <ul class="space-y-2">
                    <li class="flex items-start">
                        <i class="fas fa-phone-alt mt-1 mr-2 text-gray-400"></i>
                        <span class="text-gray-400">客服热线: 19976338635</span>
                    </li>
                    <li class="flex items-start">
                        <i class="fas fa-envelope mt-1 mr-2 text-gray-400"></i>
                        <span class="text-gray-400">service@hualong.com</span>
                    </li>
                    <li class="flex items-start">
                        <i class="fas fa-map-marker-alt mt-1 mr-2 text-gray-400"></i>
                        <span class="text-gray-400">中国北京市朝阳区花龙大厦</span>
                    </li>
                </ul>
                <div class="flex space-x-4 mt-4">
                    <a href="http://weixin.com" class="text-gray-400 hover:text-white"><i class="fab fa-weixin text-2xl"></i></a>
                    <a href="http://weibo.com" class="text-gray-400 hover:text-white"><i class="fab fa-weibo text-2xl"></i></a>
                    <a href="http://facebook.com" class="text-gray-400 hover:text-white"><i class="fab fa-facebook text-2xl"></i></a>
                    <a href="http://X.com" class="text-gray-400 hover:text-white"><i class="fab fa-twitter text-2xl"></i></a>
                </div>
            </div>
        </div>

        <div class="border-t border-gray-800 pt-8 text-center text-gray-500 text-sm">
            <p>© 2023 花龙腾航 版权所有 | 隐私政策 | 使用条款 | 网站地图</p>
            <p class="mt-2">ICP备案号: 京ICP备XXXXXXXX号</p>
        </div>
    </div>
</footer>

<script>
    // 显示行李计算器并滚动到位置
    document.getElementById('start-calculate').addEventListener('click', function() {
        const calculator = document.getElementById('luggage-calculator');
        calculator.classList.remove('hidden');

        // 添加高亮效果
        calculator.classList.add('calculator-highlight');

        // 平滑滚动到计算器
        calculator.scrollIntoView({ behavior: 'smooth' });

        // 3秒后移除高亮效果
        setTimeout(() => {
            calculator.classList.remove('calculator-highlight');
        }, 3000);
    });

    // 关闭计算器
    document.getElementById('close-calculator').addEventListener('click', function() {
        document.getElementById('luggage-calculator').classList.add('hidden');
        document.getElementById('result').classList.add('hidden');
    });

    // 导航栏跳转功能
    const tabButtons = document.querySelectorAll('.tab-btn');
    tabButtons.forEach(button => {
        button.addEventListener('click', function() {
            // 移除所有按钮的激活样式
            tabButtons.forEach(btn => btn.classList.remove('tab-active'));
            // 为当前按钮添加激活样式
            this.classList.add('tab-active');
            // 平滑滚动到对应内容部分
            const targetId = this.getAttribute('data-target');
            const targetSection = document.getElementById(targetId);
            if (targetSection) {
                targetSection.scrollIntoView({ behavior: 'smooth' });
            }
        });
    });

    // 行李计算器功能
    document.getElementById('luggageCalculator').addEventListener('submit', function(e) {
        e.preventDefault();

        const type = this.type.value;
        const dimensions = this.dimensions.value.split('x').map(Number);
        const weight = Number(this.weight.value);
        const resultDiv = document.getElementById('result');

        resultDiv.classList.remove('hidden');

        if (dimensions.length !== 3 || isNaN(weight)) {
            resultDiv.className = "mt-4 p-4 rounded-lg bg-red-50 border border-red-200";
            document.getElementById('result-icon').className = "fas fa-exclamation-circle text-xl mr-3 mt-1 text-red-500";
            document.getElementById('result-title').textContent = "输入错误";
            document.getElementById('result-message').textContent = "请输入有效的尺寸（格式：长x宽x高）和重量！";
        } else {
            if (type === 'carry-on') {
                if (dimensions[0] <= 55 && dimensions[1] <= 40 && dimensions[2] <= 20 && weight <= 7) {
                    resultDiv.className = "mt-4 p-4 rounded-lg bg-green-50 border border-green-200";
                    document.getElementById('result-icon').className = "fas fa-check-circle text-xl mr-3 mt-1 text-green-500";
                    document.getElementById('result-title').textContent = "符合规定";
                    document.getElementById('result-message').textContent = "您的随身行李符合经济舱规定。尺寸: " + dimensions[0] + "x" + dimensions[1] + "x" + dimensions[2] + "cm, 重量: " + weight + "kg";
                } else if (dimensions[0] <= 55 && dimensions[1] <= 40 && dimensions[2] <= 20 && weight <= 10) {
                    resultDiv.className = "mt-4 p-4 rounded-lg bg-yellow-50 border border-yellow-200";
                    document.getElementById('result-icon').className = "fas fa-exclamation-triangle text-xl mr-3 mt-1 text-yellow-500";
                    document.getElementById('result-title').textContent = "部分符合";
                    document.getElementById('result-message').textContent = "您的随身行李符合商务舱/头等舱规定，但超出经济舱重量限制（7kg）。尺寸: " + dimensions[0] + "x" + dimensions[1] + "x" + dimensions[2] + "cm, 重量: " + weight + "kg";
                } else {
                    resultDiv.className = "mt-4 p-4 rounded-lg bg-red-50 border border-red-200";
                    document.getElementById('result-icon').className = "fas fa-times-circle text-xl mr-3 mt-1 text-red-500";
                    document.getElementById('result-title').textContent = "不符合规定";
                    document.getElementById('result-message').textContent = "您的随身行李不符合规定，请检查尺寸（≤55x40x20cm）和重量（经济舱≤7kg，商务/头等舱≤10kg）。当前尺寸: " + dimensions[0] + "x" + dimensions[1] + "x" + dimensions[2] + "cm, 重量: " + weight + "kg";
                }
            } else if (type === 'checked') {
                const totalDimensions = dimensions[0] + dimensions[1] + dimensions[2];
                if (totalDimensions <= 158 && weight <= 23) {
                    resultDiv.className = "mt-4 p-4 rounded-lg bg-green-50 border border-green-200";
                    document.getElementById('result-icon').className = "fas fa-check-circle text-xl mr-3 mt-1 text-green-500";
                    document.getElementById('result-title').textContent = "符合规定";
                    document.getElementById('result-message').textContent = "您的托运行李符合经济舱规定。总尺寸: " + totalDimensions + "cm, 重量: " + weight + "kg";
                } else if (totalDimensions <= 158 && weight <= 32) {
                    resultDiv.className = "mt-4 p-4 rounded-lg bg-yellow-50 border border-yellow-200";
                    document.getElementById('result-icon').className = "fas fa-exclamation-triangle text-xl mr-3 mt-1 text-yellow-500";
                    document.getElementById('result-title').textContent = "部分符合";
                    document.getElementById('result-message').textContent = "您的托运行李符合商务舱/头等舱规定，但超出经济舱重量限制（23kg）。总尺寸: " + totalDimensions + "cm, 重量: " + weight + "kg";
                } else {
                    resultDiv.className = "mt-4 p-4 rounded-lg bg-red-50 border border-red-200";
                    document.getElementById('result-icon').className = "fas fa-times-circle text-xl mr-3 mt-1 text-red-500";
                    document.getElementById('result-title').textContent = "不符合规定";
                    document.getElementById('result-message').textContent = "您的托运行李不符合规定，请检查尺寸（长+宽+高≤158cm）和重量（经济舱≤23kg，商务/头等舱≤32kg）。当前总尺寸: " + totalDimensions + "cm, 重量: " + weight + "kg";
                }
            }
        }

        // 滚动到结果位置
        resultDiv.scrollIntoView({ behavior: 'smooth', block: 'nearest' });
    });

    // FAQ accordion functionality
    const faqButtons = document.querySelectorAll('.faq button');
    faqButtons.forEach(button => {
        button.addEventListener('click', () => {
            const content = button.nextElementSibling;
            const icon = button.querySelector('i');

            if (content.classList.contains('hidden')) {
                content.classList.remove('hidden');
                icon.classList.remove('fa-chevron-down');
                icon.classList.add('fa-chevron-up');
            } else {
                content.classList.add('hidden');
                icon.classList.remove('fa-chevron-up');
                icon.classList.add('fa-chevron-down');
            }
        });
    });

    // Smooth scrolling for anchor links
    document.querySelectorAll('a[href^="#"]').forEach(anchor => {
        anchor.addEventListener('click', function(e) {
            e.preventDefault();
            document.querySelector(this.getAttribute('href')).scrollIntoView({
                behavior: 'smooth'
            });
        });
    });
</script>
</body>
</html>